package com.peace.hospital.entity.common;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 价格表
 * </p>
 *
 * @author 谢晓峰
 * @since 2019-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Price implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 价格id
     */
    private BigDecimal prid;

    /**
     * 数据库名称
     */
    private String pridbsorce;

    /**
     * 单位
     */
    private String pridunit;


    /**
     * 状态(0，进货价格；1，出售价格)
     */
    private Integer pristate;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public BigDecimal getPrid() {
        return prid;
    }

    public void setPrid(BigDecimal prid) {
        this.prid = prid;
    }

    public String getPridbsorce() {
        return pridbsorce;
    }

    public void setPridbsorce(String pridbsorce) {
        this.pridbsorce = pridbsorce;
    }

    public String getPridunit() {
        return pridunit;
    }

    public void setPridunit(String pridunit) {
        this.pridunit = pridunit;
    }

    public Integer getPristate() {
        return pristate;
    }

    public void setPristate(Integer pristate) {
        this.pristate = pristate;
    }
}
